<!DOCTYPE html>
<html>
	<head>
		<title>SGIM - FCI Im�veis</title>

		<!-- Always force latest IE rendering engine (even in intranet) & Chrome Frame
		Remove this if you use the .htaccess -->
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />

		
		<meta name="description" content="text/html; charset=iso-88859-1" />
		
		<meta name="viewport" content="width=device-width; initial-scale=1.0" />

		<link rel="stylesheet" type="text/css" href="assets/style.css"/>
		<link rel="stylesheet" type="text/css" href="assets/css/estilo.css"/>-->
		<link rel="stylesheet" type="text/css" href="assets/css/jquery-ui-1.8.21.custom.css"/>
		
		<script type="text/javascript" language="JavaScript" src="assets/js/jquery-1.7.2.js"></script>		
		<script type="text/javascript" language="JavaScript" src="assets/js/jquery-ui-1.8.21.custom.min.js"></script>
		<script type="text/javascript" language="JavaScript" src="assets/js/jquery.ui.datepicker-pt-BR.js"></script>
		<script type="text/javascript" language="JavaScript" src="assets/js/jquery.maskedinput-1.3.js"></script>
		<script type="text/javascript" language="JavaScript" src="assets/js/minhasValidacoes.js"></script>		
		
	
		<link rel="stylesheet" href="assets/estilodatatable/table_jui.css" />
		<script type="text/javascript" src="assets/js/jquery.dataTables.min.js"></script>
	</head>
	
	<body>
		<div id="container" > 
			<div id="banner">
				<div id="barra">
				</div>
				</div>
			 </div>
			<div id="content">
				<?php
					$pasta = "../fotosimoveis/";
	
					// exten�oes aceitas
					$arquivos= glob("$pasta{*.jpg,*.JPG,*.png,*.PNG,*.gif,*.GIF,*.bmp*.BMP}", GLOB_BRACE);
				
				
				foreach ($arquivos as $img) {
				?>
				
						<!--<img src="<?php echo $img ; ?>" alt="" width="200"/>-->
						
						<img src="<?php echo $img ; ?>" alt="" width="200"/>
						
						<a href="fotosDel.php?imagem=<?php echo $img ; ?>">Excluir</a>
			
     
				<?php 
	
					}
	
				?>
	
	</div>			
		<div id="sidebar">
				<ul>
					<li><a href="#" onclick="abrirPag('../paginas/inicio.php');" title="inicio">Home</a></li>
                	<li><a href="fotos.php" title="fotos"> Fotos</a></li>                
                </ul>
				<div id="language"></div>
		</div>
		<div id="footer">
				&copy; Copyright 2013 Nathaniel Gladstone Barreto Brum 	<br />
        </div>
    </div>
	</body>
</html>

	</body>
</html>